package top.springcloud.order.mapper;

import org.springframework.stereotype.Component;
import top.springcloud.order.entity.Order;

/**
 * @ClassName OrderMapper
 * @Description OrderMapper
 * @Author 维康
 * @Date 2018/8/16 14:11
 * @Version 1.0
 **/
@Component
public interface OrderMapper {

    int updateById(Order order);

    int insert(Order order);

    Order selectById(Long orderId);

    int deleteById(Long orderId);
}
